CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(n-body-simulation)

ADD_DEFINITIONS(-g -O3 -Wall -W)

FIND_PACKAGE(CUDA)

INCLUDE_DIRECTORIES()
LINK_DIRECTORIES()

INCLUDE(FindCUDA)

CUDA_ADD_EXECUTABLE(main main.cu)

TARGET_LINK_LIBRARIES(main)

